package com.easylinkin.linkappapi.lobar.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.lobar.dto.LaborCompanyProjectDTO;
import com.easylinkin.linkappapi.lobar.entity.LaborCompany;
import com.easylinkin.linkappapi.lobar.entity.LaborCompanyProject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import java.util.Map;

import com.easylinkin.linkappapi.lobar.entity.vo.LaborCompanySelectVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 劳务公司项目表 Mapper 接口
 * </p>
 *
 * @author kanyuanfeng
 * @since 2022-04-13
 */
public interface LaborCompanyProjectMapper extends BaseMapper<LaborCompanyProject> {

  IPage<LaborCompanyProjectDTO> queryListByPage(Page page, @Param("laborCompany") LaborCompanyProjectDTO laborCompany);

  List<LaborCompanyProjectDTO> queryListByPage(@Param("laborCompany") LaborCompanyProjectDTO laborCompany);

  List<LaborCompanyProjectDTO> findAll(String tenantId);

  List<LaborCompanyProject> findCompanyByName(@Param("company") String company, @Param("tenantId")String tenantId);

    List<Map<String, Object>> querySubAddProjectNum();

    List<LaborCompanySelectVO> queryLaborCompanySelect(@Param("tenantId")String tenantId);
}
